<include file="Public:header" />
<div class="main">
    <div class="position"><p>您的当前位置：<a href="/">首页</a>  >  <a href="{:U('News/index')}">资讯</a>  >
        <volist name='cate_nav' id='vo'>
           <a title="{$vo.name}" href="{:U('News/lists',array('alias'=>$vo['alias']))}">{$vo.name}</a>  >
        </volist>
        {$info.title}
    </p></div>
    <div class="body_house overflow_h m_t_15">
        <div class="body_left">
            <div class="SjD_LeftSmCon">
                <div class="SjD_LeftSm_title">
                    <h2>{$info.title}</h2>
                    <p>所属分类: <a style="color: orange" title="{$cate.name}" href="{:U('News/lists',array('alias'=>$cate['alias']))}">{$cate.name}</a> &nbsp;&nbsp;{$info.add_time|date='Y-m-d H:i:s',###}&nbsp;&nbsp;编辑：{$info.editor}&nbsp;&nbsp;浏览次数 {$info.hits} 次</p>
                </div>
                <div class="SjD_LeftSm_content">
                    <php>if($house){</php>
                    <!--house-->
                    <div class="news_house_show">
                        <div class="n_house_s_img">
                            <a href="{:U('House/detail',array('id'=>$house['id']))}"><img alt="{$house.title}" title="{$house.title}" src="{$house.img}"></a>
                        </div>
                        <div class="news_house_info">
                            <h2><a title="{$house.title}" href="{:U('House/detail',array('id'=>$house['id']))}">{$house.title}</a></h2>
                            <div><span class="n_house_s01">均价：<span class="org01">{$house.average_price}㎡</span></span></div>
                            <div><span class="n_ico01"></span><span class="n_t01"><span style="color: #cccccc">[{$address[0]}]</span> {$address[1]}</span></div>
                            <div><span class="n_ico02"></span><span class="n_t01">售楼处：<span class="text09">{$tel[0]}</span> <php>if($tel[1]){</php>转 <span class="text09">{$tel[1]}</span><php>}</php></span></div>
                            <div class="news_house_nav">
                                <a title="{$house.title}主页" href="{:U('House/detail',array('id'=>$house['id']))}">楼盘主页</a>
                                <a title="{$house.title}资料" href="{:U('House/info',array('hid'=>$house['id']))}">详细资料</a>
                                <a title="{$house.title}户型" href="{:U('House/type',array('hid'=>$house['id']))}">楼栋户型</a>
                                <a title="{$house.title}价格" href="{:U('House/price',array('hid'=>$house['id']))}">价格分析</a>
                                <a title="{$house.title}相册" href="{:U('House/pic',array('hid'=>$house['id']))}">楼盘相册</a>
                                <a title="{$house.title}动态" href="{:U('House/news',array('hid'=>$house['id']))}">楼盘动态</a>
                                <a title="{$house.title}问答" href="{:U('House/ask',array('hid'=>$house['id']))}">楼盘问答</a>
                            </div>
                        </div>
                    </div>
                    <!--house end-->
                    <php>}</php>
                    {$info.info}
                </div>

            </div>
            <div class="show_body02">
                <h1 class="n_h_title"><span class="s_bg_line">猜你喜欢</span></h1>
                <ul>
                    <volist name='rec_list' id='vo'>
                        <li><a title="{$vo.title}" href="{:U('News/detail',array('id'=>$vo['id']))}">{$vo.title}</a> <span class="text12">{$vo.add_time|date='Y-m-d',###}</span></li>
                    </volist>
                </ul>
            </div>
        </div>

        <div class="body_right">
            <php>if($user_news){</php>
            <div class="jijiren_f">
                <h1 class="n_h_title"><span class="s_bg_line">作者介绍</span></h1>
                <div class="jijiren_f_body">
                    <div class="jijiren_f_body_n1"><span class="jijiren_img"><a href="{:U('StoreNews/index',array('uid'=>$user_news['id']))}"><img src="{$user_news.head_ico}" width="75" height="75" /></a></span>
                        <h2><a href="{:U('StoreNews/index',array('uid'=>$user_news['id']))}">{$user_news.username}</a></h2>
                        <p>Q Q：{$user_news.qq}</p>
                        <p>E-mail：{$user_news.email}</p>
                        <div class="overflow_h"><span class="s_h_h_sp">等级 ：</span>
                            <div class="star">
                                <php>
                                    for($i=1;$i<6;$i++){
                                    if($user_news['level']>=$i){
                                </php>
                                <span title="{$i}星会员" class="star_01 star_ico01"></span>
                                <php>}else{</php>
                                <span title="{$i}星会员" class="star_01 star_ico02"></span>
                                <php>}}</php>
                            </div>
                        </div>
                    </div>

                    <div class="jijiren_f_body_n2 overflow_h">
                        <span class="j_sp">文章：<span class="org">{$news_count}</span></span>
                        <span class="j_sp">浏览：<span class="org">{$news_hits_count}</span></span>
                        <span class="j_sp1"><a href="javascript:;" onclick="followUser({$user_news.id})" class="but24">加关注</a></span>
                    </div>

                    <div class="jijiren_f_body_n3">
                        <ul>
                            <volist name='user_news_list' id='vo'>
                                <li><a title="{$vo.title}" href="{:U('News/detail',array('id'=>$vo['id']))}">{$vo.title}</a></li>
                            </volist>
                        </ul>
                    </div>
                </div>
            </div>
            <php>}</php>
            <include file="News:right" />
        </div>
    </div>
</div>
<script type="text/javascript" src="__JS__/jquery.js"></script>
<script type="text/javascript" src="__JS__/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<script type="text/javascript">
    function followUser(id){
        var url ="{:U('Ajax/followUser')}";
        follow_user(url,id);
    }
</script>
<include file="Public:footer" />
